.class public Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;
.super Landroid/widget/ScrollView;


# instance fields
.field private a:Lcom/waiqin365/lightapp/kehu/view/bn;

.field private b:Lcom/waiqin365/lightapp/kehu/view/bm;

.field private c:I

.field private d:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/view/bk;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/view/bk;-><init>(Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->d:Landroid/os/Handler;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/view/bk;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/view/bk;-><init>(Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->d:Landroid/os/Handler;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 1

    invoke-direct {p0, p1, p2, p3}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/view/bk;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/view/bk;-><init>(Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->d:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->c:I

    return v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->c:I

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->d:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;)Lcom/waiqin365/lightapp/kehu/view/bn;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->a:Lcom/waiqin365/lightapp/kehu/view/bn;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/kehu/view/bl;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/view/bl;-><init>(Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method protected onScrollChanged(IIII)V
    .locals 1

    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/ScrollView;->onScrollChanged(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->b:Lcom/waiqin365/lightapp/kehu/view/bm;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->b:Lcom/waiqin365/lightapp/kehu/view/bm;

    invoke-interface {v0, p1, p2, p3, p4}, Lcom/waiqin365/lightapp/kehu/view/bm;->a(IIII)V

    :cond_0
    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->a:Lcom/waiqin365/lightapp/kehu/view/bn;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->a:Lcom/waiqin365/lightapp/kehu/view/bn;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->getScrollY()I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->c:I

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/bn;->a(I)V

    :cond_0
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    invoke-super {p0, p1}, Landroid/widget/ScrollView;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->d:Landroid/os/Handler;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->d:Landroid/os/Handler;

    invoke-virtual {v1}, Landroid/os/Handler;->obtainMessage()Landroid/os/Message;

    move-result-object v1

    const-wide/16 v2, 0x14

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
    .end packed-switch
.end method

.method public setOnScrollChangedListener(Lcom/waiqin365/lightapp/kehu/view/bm;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->b:Lcom/waiqin365/lightapp/kehu/view/bm;

    return-void
.end method

.method public setOnScrollListener(Lcom/waiqin365/lightapp/kehu/view/bn;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/FloatScrollView;->a:Lcom/waiqin365/lightapp/kehu/view/bn;

    return-void
.end method
